package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.entity.GoodsChestEntity;
import com.yimils.core.goods.vo.GoodsChestRes;

import java.util.List;
import java.util.Map;

public interface GoodsChestService extends IService<GoodsChestEntity> {

    Boolean saveGoodsChest(List<Long> chestIds, Long goodsId);

    Boolean deleteGoodsChest(List<Long> chestIds, Long goodsId);

    Map<Long, List<GoodsChestRes>> mapListGoodsChest(List<Long> goodsIds);
}
